package com.pactera.madp.cp.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @Description  自动拉群表
 */

@Data
@TableName("cp_work_room_auto_pull" )
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "自动拉群")
public class WorkRoomAutoPullEntity extends BaseEntity<WorkRoomAutoPullEntity> {

	@TableId(type = IdType.AUTO)
	@ApiModelProperty(value = "id")
	private Integer id;

	@ApiModelProperty(value = "企业id")
	private Integer corpId;

	@ApiModelProperty(value = "二维码名称")
	private String qrcodeName;

	@ApiModelProperty(value = "二维码地址")
	private String qrcodeUrl;

	@ApiModelProperty(value = "二维码凭证")
	private String wxConfigId;

	@ApiModelProperty(value = "添加验证 （1:需验证 2:直接通过）")
	private Integer isVerified;

	@ApiModelProperty(value = "入群引导语")
	private String leadingWords;

	@ApiModelProperty(value = " 群标签 [{`tag_id`: `1`,`type`: 1,`tag_name`:`标签`,group_id:`1` ,group_name`:分组名称}]")
	private String tags;

	@ApiModelProperty(value = "使用成员[{`id`: `1`,name`:`成员`}]")
	private String employees;

	@ApiModelProperty(value = "群[{`id`: `1`,`type`: 1,`name`:`成员`,room_max:'群上限'}]")
	private String rooms;
}
